package org.eleorc.ioc.javabased.lite;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * bean定义中的不会生成动态代理类
 * appliteCfg:===>Generic bean: class [org.eleorc.ioc.javabased.lite.AppliteCfg]; scope=singleton; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null
 */
@Component
public class AppliteCfg {

    @Bean
    public String name() {
        System.out.println("lite @Component AppliteCfg");
        return new String("haha");
    }

}
